package com.wisdytech.linkdcs.log.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.wisdytech.linkdcs.log.dto.LogSearchDTO;
import com.wisdytech.linkdcs.log.model.SysLog;

import java.util.List;
import java.util.Map;

/**
 * 
 * <p>ClassName: ISysLogDao</p>
 * <p>Description: 系统日志服务</p>
 * <p>Author: PC</p>
 * <p>Date: 2017-10-17</p>
 */
public interface ISysLogDao extends BaseMapper<SysLog>{
    
    /**
     * 
     * <p>Description: 根据条件查询日志列表</p>
     * @param dto
     * @return
     */
    public List<SysLog> selectLogBySearch(LogSearchDTO dto);
    /**
     * <p>Description: 根据条件查询操作日志列表</p>
     * @param queryMap 查询条件
     * @return 
     */
    public List<SysLog> selectLogByQueryMap(Map<String, Object> queryMap);

    String selectErrorLogDetail(String pkId);

}
